{% extends "user_contacts/base.html" %}
{% block title %}
<title>Welcome.</title>
{% endblock %}

{% block body %}
  <div class="container">
    <h1>What would you like to do?</h1>
    <ul>
      <li><a href="{% url 'user_contacts:all_contacts' %}">View contacts</a></li>
      <li><a href="{% url 'user_contacts:add_contact' %}">Add contact</a></li>
      <li><a href="{% url 'user_contacts:all_person' %}">List Persons</a></li>
    </ul>
  </div>
  {{ person_form.name }}
  {{ person_form.age }}
  {{ person_form.sex }}
  {% for tmp in person_form %}
  {{ tmp }} {{ person_form.tmp }}
  {% endfor %}

  {{ example }}
{% endblock %}